
<form id="form_batch">
<table>
	<tr align="center">
		<th><input type="checkbox" class="check" name="chkall" value="on" onclick="chkbox(this.form)"></th>
		<th>序号</th>
		<th>名称</th>
		<th>规格</th>
		
		<th>数量</th>
		<th>单位</th>
		
		<th>产品</th>
		<th>备注</th>
		<th>状态</th>
	</tr>
	{[foreach name=outer key=key item=item from=$in_list]} 
	{[assign var="no" value="`$key+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
		<td><input type="checkbox" class="check" name="b_{[$item.id]}" value="{[$item.id]}"></td>
		<td>{[$no]}</td>
		<td>{[$item.name]}</td>
		<td>{[$item.standard]}</td>
		
		<td>{[$item.amount|string_float]}</td>
		<td>{[$item.unit]}</td>
		
		<td>{[$item.mold_t]}</td>
		<td>{[$item.content|truncate:21:"...":true]}</td>

		<td>{[$item.status_t]}</td>
	</tr>
	{[/foreach]}
</table>
</form>
